<template>
	<view class="content">
		<view class="row default-row" v-for="item in titles" :key="item" @click="chooseItem(item.name,item.value)">
			<text class="tit" >{{item.name}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				titles:[
					{value:1,name:'个人/或事业单位'},
					{value:2,name:'企业'}
				]
			}
		},
		onLoad() {
			
		},
		methods: {
			chooseItem(name,value){
				this.$api.prePage().listTips = name;
				this.$api.prePage().dataModal.vbrkType = value;
				this.$Router.back(1)
			}
		},
		
	}
</script>

<style lang="scss">
	page {
		background: $page-color-base;
		padding-top: 16upx;
	}

	.row {
		display: flex;
		align-items: center;
		position: relative;
		padding: 0 30upx;
		height: 110upx;
		background: #fff;

		.tit {
			flex-shrink: 0;
			width: 120upx;
			font-size: 30upx;
			color: $font-color-dark;
		}

	}

	.default-row {
		margin-top: 16upx;

		.tit {
			flex: 1;
		}

	}

	
</style>
